﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="d" uri="/WEB-INF/resource.tld" %>

<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<!DOCTYPE html>
<html lang="zh-CN">
<head>

  <%@ include file="/WEB-INF/include/meta.jsp"%>
  <%@ include file="/WEB-INF/include/css.jsp"%>
  
</head>

<body>

  <%@ include file="/WEB-INF/include/header.jsp"%>
  
  <%@ include file="/WEB-INF/include/menu.jsp"%>
  
  <div class="container main-content">

    <div class="panel panel-default x-panel x-panel-layout">

      <div class="panel-heading">
        <ol class="breadcrumb">
          <li><a href="${ctx.host}/online-rounds">课程管理</a></li>
          <li class="active">课件管理</li>
          <li class="no-before pull-right" style="min-width: 65px;">
            <a onclick="window.history.back();"><i class="glyphicon glyphicon-arrow-left"></i>&nbsp;&nbsp;返回</a>
          </li>
        </ol>
      </div>

      <div class="panel-body">

        <div class="col-xs-2 x-panel-layout-left no-horizontal-padding">
          <%@ include file="/WEB-INF/include/submenu.jsp"%>
        </div>

        <div class="col-xs-10 x-panel-layout-right">

          <div class="x-breadcrumb-wrapper">
            <div class="x-breadcrumb clearfix">
              <h2><i class="glyphicon glyphicon-fire" title="1v1课程详情"></i>&nbsp;&nbsp;<span>课件管理&nbsp;-&nbsp;动作详情</span></h2>
            </div>
          </div>
          
          <div class="x-breadcrumb-wrapper" style="margin-top:20px;">
            <div class="x-breadcrumb yellow clearfix">
              <h2>
                <span>基本信息</span>
              </h2>
              <div class="btn-group pull-right">
                <a href="${ctx.host}/action-libraries/${movement.id}/edit" data-target="#edit" data-toggle="modal" class="btn btn-default x-btn btn-shadow btn-shadow-default">
                  <i class="glyphicon"></i>&nbsp;&nbsp;修改动作
                </a>
              </div>
            </div>
          </div> 
          
          <div class="clearfix">
          
          <div class="form-horizontal x-form-horizontal" style="float: left" >
            <div class="form-group">
              <label class="control-label col-xs-4 text-right">名称：</label>
              <div class="col-xs-6">
                <p class="form-control-static">${movement.name}</p>
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-xs-4 text-right">类别：</label>
              <div class="col-xs-6">
                <p class="form-control-static">${movement.category.name}</p>
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-xs-4 text-right">器材：</label>
              <div class="col-xs-6">
                <p class="form-control-static">${movement.equipment.name}</p>
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-xs-4 text-right">动作要领：</label>
              <div class="col-xs-6">
                <p class="form-control-static">${movement.summary}</p>
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-xs-4 text-right">动画：</label>
              <div class="col-xs-6">
                <img src="${ctx.resource}/images/1.gif" >&nbsp;&nbsp;
              </div>
            </div>
            
          </div>
          
          
          </div>
          
        </div>
          
        </div>

      </div>

    </div>

  <%@ include file="/WEB-INF/include/script.jsp"%>
  <d:resource root="${ctx.resource}/build" type="script" src="js/page/course/action-library-view.js">
    <script type="text/javascript">
      require(['page/course/action-library-view'], function(page) {
        page.init()
      })
    </script>
  </d:resource>
  
</body>

</html>
